<extend name="common" />
<block name="main">
<div class="createpro-main">
    <div class="createpro-bd clear">
        <form id="createproForm" method="post" class="form-horizontal" action="projectInfo">
        	<input type="hidden" name="pid" value="{$project_id}">
	        <div class="form-group">
	            <label class="col-lg-2 control-label">项目名称</label>
	            <div class="col-lg-5">
	                <input type="text" class="form-control" id="project_name" name="project_name" placeholder="请输入项目名" autocomplete="off"
	                 data-bv-message="项目名必填"
	                 required data-bv-notempty-message="项目名不能为空" data-bv-stringlength-max="30" data-bv-stringlength-message="项目简介长度必须小于30" value="{$project.project_name}">
	            </div>
	        </div>
	        <div class="form-group">
	            <label class="col-lg-2 control-label">项目简介</label>
	            <div class="col-lg-5">
	                <textarea rows="6" class="form-control" id="project_intro" name="project_intro" placeholder="请输入项目简介" autocomplete="off"
	                 data-bv-message="项目简介必填"
	                 required data-bv-notempty-message="项目简介不能为空" data-bv-stringlength="true" data-bv-stringlength-max="200" data-bv-stringlength-message="项目简介长度必须小于200">{$project.project_intro}</textarea>
	            </div>
	        </div>
	        <div class="form-group">
	            <label class="col-lg-2 control-label">项目类型</label>
	            <div class="col-lg-5">
	            	<div class="radio">
	                <label>
	                	<input type="radio" name="project_type" value="public" checked/> 公开
	                </label>
	                <label>
	                	<if condition="$project.project_type eq 'private'">
	                	<input type="radio" name="project_type" value="private" checked/> 私有
	                	<else />
	                	<input type="radio" name="project_type" value="private"/> 私有
	                	</if>
	                </label>
	                </div>
	            </div>
	        </div>

	        <div class="form-group">
	            <div class="col-lg-5 col-lg-offset-2">
	                <button type="submit" class="btn btn-primary btn-submit col-lg-12">保存</button>
	            </div>
	        </div>
	    </form>
	</div>
</div>
</block>